<?php
/**
 * Created by PhpStorm.
 * User: fengyan
 * Date: 18-3-28
 * Time: 下午12:47
 */

namespace App\Exceptions;


use App\Utils\Enums\ExceptionEnums;

class ApiException extends BaseException implements InterException
{
    /**
     * BaseException constructor.
     * @param string $msg
     * @param array $data
     * @param int $code
     * @param \Throwable|null $previous
     */
    public function __construct($msg = '', array $data = [], $code = ExceptionEnums::SERVICE_ERROR, \Throwable $previous = null)
    {
        parent::__construct($msg, $data, $code);
    }
}